#pragma once 

#include <string>
#include "../buffer.h"
namespace TinyRPC {
// 抽象解码器
class AbstractCodec{
public:
   virtual std::string decode(BufferPtr inputBuffer) = 0;
   virtual std::string encode(std::string& out) = 0; 
};

}
